Add a test involving a text view
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Jun 2011 23:16:26 +0000 (19:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:00 +0000 (16:08 -0400)
tests/a11y/Makefile.am
tests/a11y/text.txt [new file with mode: 0644]
tests/a11y/text.ui [new file with mode: 0644]

index 9f9f81f33791b565a6d82f10b21f26364e1cc675..7bb323fddae6fe2c580cb4fe41d72438785af7d0 100644 (file)
@@ -26,4 +26,6 @@ EXTRA_DIST += \
        mnemonic.ui mnemonic.txt \
        accessible-name.ui accessible-name.txt \
        notebook.ui notebook.txt \
-       range.ui range.txt
+       range.ui range.txt \
+       link.ui link.txt \
+       text.ui text.txt
diff --git a/tests/a11y/text.txt b/tests/a11y/text.txt
new file mode 100644 (file)
index 0000000..7162034
--- /dev/null
@@ -0,0 +1,17 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  text1
+    "text"
+    parent: window1
+    index: 0
+    state: editable enabled focusable multi-line sensitive showing visible
+    toolkit: gail
+    text: Twas brillig, and the slithy toves
+Did gyre and gimple in the wabe
+    character count: 66
+    caret offset: 66
+    default attributes: right-margin:0 left-margin:0 indent:0 pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 rise:0 language:<omitted> scale:1 fg-color:0,0,0 bg-color:65535,65535,65535 invalid:none invalid:false invalid:false invalid:false left-margin:true invalid:none left-margin:ltr invalid:left size:<omitted> weight:<omitted> family-name:<omitted> invisible:normal invalid:normal invalid:normal
+    mime types: application/x-gtk-text-buffer-rich-text text/plain
diff --git a/tests/a11y/text.ui b/tests/a11y/text.ui
new file mode 100644 (file)
index 0000000..508efd5
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkTextBuffer" id="buffer1">
+    <property name="text">Twas brillig, and the slithy toves
+Did gyre and gimple in the wabe</property>
+  </object>
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkTextView" id="text1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="buffer">buffer1</property>
+      </object>
+    </child>
+  </object>
+</interface>